package com.maserb.monitor.service.schoolForum;

import com.maserb.monitor.entity.schoolForum.PostEntity;
import com.maserb.monitor.repository.schoolForum.PostRepository;
import com.maserb.monitor.service.base.JpaSpecificationService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;



public interface PostService extends JpaSpecificationService<PostRepository, PostRepository, PostEntity, String> {

    Page<PostEntity> findAll(Pageable pageable, String keyword,String orgId);

   void doTop(String id);

   void cancelTop(String id);
}